﻿using System;

namespace DMZS.Model
{
    /// <summary>
    /// PType:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class PType
    {
        public PType()
        {
        }
        private string _parid = string.Empty;
        private string _ptypeid = string.Empty;
        private int? _leveal = 0;
        private int? _psonnum = 0;
        private int? _psoncount = 0;
        private string _pcode = string.Empty;
        private string _pfullname = string.Empty;
        private string _pname = string.Empty;
        private string _pnamepy = string.Empty;
        private string _ptypegg = string.Empty;
        private string _pmodel = string.Empty;
        private bool _isstop = false;
        private string _pcomment = string.Empty;
        private int? _unitid = 0;
        private int? _change = 0;
        /// <summary>
        ///
        /// </summary>
        public int PtypeFID { get; set; }
        /// <summary>
        ///
        /// </summary>
        public string ParID
        {
            set
            {
                _parid = value;
            }
            get
            {
                return _parid;
            }
        }
        /// <summary>
        ///
        /// </summary>
        public string PTypeID
        {
            set
            {
                _ptypeid = value;
            }
            get
            {
                return _ptypeid;
            }
        }
        /// <summary>
        ///
        /// </summary>
        public int? Leveal
        {
            set
            {
                _leveal = value;
            }
            get
            {
                return _leveal;
            }
        }
        /// <summary>
        ///
        /// </summary>
        public int? PSonnum
        {
            set
            {
                _psonnum = value;
            }
            get
            {
                return _psonnum;
            }
        }
        /// <summary>
        ///
        /// </summary>
        public int? PSonCount
        {
            set
            {
                _psoncount = value;
            }
            get
            {
                return _psoncount;
            }
        }
        /// <summary>
        ///
        /// </summary>
        public string PCode
        {
            set
            {
                _pcode = value;
            }
            get
            {
                return _pcode;
            }
        }
        /// <summary>
        ///
        /// </summary>
        public string pFullName
        {
            set
            {
                _pfullname = value;
            }
            get
            {
                return _pfullname;
            }
        }
        /// <summary>
        ///
        /// </summary>
        public string pName
        {
            set
            {
                _pname = value;
            }
            get
            {
                return _pname;
            }
        }
        /// <summary>
        ///
        /// </summary>
        public string pNamePY
        {
            set
            {
                _pnamepy = value;
            }
            get
            {
                return _pnamepy;
            }
        }
        /// <summary>
        ///
        /// </summary>
        public string pTypeGG
        {
            set
            {
                _ptypegg = value;
            }
            get
            {
                return _ptypegg;
            }
        }
        /// <summary>
        ///
        /// </summary>
        public string pModel
        {
            set
            {
                _pmodel = value;
            }
            get
            {
                return _pmodel;
            }
        }
        /// <summary>
        ///
        /// </summary>
        public bool IsStop
        {
            set
            {
                _isstop = value;
            }
            get
            {
                return _isstop;
            }
        }
        /// <summary>
        ///
        /// </summary>
        public string pComment
        {
            set
            {
                _pcomment = value;
            }
            get
            {
                return _pcomment;
            }
        }
        /// <summary>
        ///
        /// </summary>
        public int? UnitID
        {
            set
            {
                _unitid = value;
            }
            get
            {
                return _unitid;
            }
        }
        /// <summary>
        ///
        /// </summary>
        public int? UnitID1 { get; set; }
        /// <summary>
        ///
        /// </summary>
        public int? Change
        {
            set
            {
                _change = value;
            }
            get
            {
                return _change;
            }
        }
        /// <summary>
        ///
        /// </summary>
        public string pUserCode { get; set; }
    }
}

